package com.cskaoyan.wordmemorize.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cskaoyan.wordmemorize.dao.entity.UserRemindDO;
import com.cskaoyan.wordmemorize.dto.app.UserRemindDTO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalTime;
import java.util.List;

public interface UserRemindMapper extends BaseMapper<UserRemindDO> {

    List<UserRemindDTO> getUsersToRemind(LocalTime now, LocalTime oneHourLater, int page, int pageSize);

    LocalTime getRemindTime(Long userId);
}